import { get } from '@/utils/request'
import { type GetBuiltinToolsResponse, type GetCategoriesResponse } from '@/models/builtin-tool'

// 获取内置分类列表信息
export const getCategories = () => {
  return get<GetCategoriesResponse>('/getCategory')
}

// 获取所有内置工具提供者列表
export const getBuiltinTools = () => {
  return get<GetBuiltinToolsResponse>('/getProviders')
}
